<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>考试系统-考卷列表页面</title>

    <!-- Bootstrap -->
    <link rel="stylesheet" th:href="@{/bootstrap/css/bootstrap.min.css}">
    <link rel="stylesheet" th:href="@{/custom/common/css/style.css}">

    <!-- HTML5 shim 和 Respond.js 是为了让 IE8 支持 HTML5 元素和媒体查询（media queries）功能 -->
    <!-- 警告：通过 file:// 协议（就是直接将 html 页面拖拽到浏览器中）访问页面时 Respond.js 不起作用 -->
    <!--[if lt IE 9]>
    <script th:src="@{/bootstrap/js/html5shiv.min.js}"></script>
    <script th:src="@{/bootstrap/js/respond.min.js}"></script>
    <![endif]-->
</head>
<body>
<nav class="navbar navbar-inverse">
    <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                    data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">考试系统管理</a>
        </div>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <!--<ul class="nav navbar-nav">
                <li class="active"><a href="#">考卷 <span class="sr-only">(current)</span></a></li>
                <li><a href="#">考卷</a></li>
                <li><a href="#">考试</a></li>
                <li><a href="#">设置</a></li>
            </ul>-->
            <ul class="nav navbar-nav navbar-right">
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                       aria-expanded="false">张三 <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="#">修改密码</a></li>
                        <li><a href="#">修改信息</a></li>
                        <li role="separator" class="divider"></li>
                        <li><a th:href="@{/manage/exit}">退出</a></li>
                    </ul>
                </li>
            </ul>
        </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
</nav>
<div class="container-fluid">
    <div class="row">
        <div class="col-lg-2">
            <div class="list-group">
                <a th:href="@{/manage/index}" class="list-group-item">首页</a>
                <a th:href="@{/manage/question/list}" class="list-group-item">考题管理</a>
                <a th:href="@{/manage/paper/list}" class="list-group-item active">考卷管理</a>
                <a th:href="@{/manage/exam/list}" class="list-group-item">考试管理</a>
                <a th:href="@{/manage/user/list}" class="list-group-item">用户管理</a>
            </div>
        </div>
        <div class="col-lg-10">
            <ol class="breadcrumb">
                <li class="active">考卷管理</li>
            </ol>
            <div class="row fyl-mb20">
                <div class="col-lg-10">
                    <form class="form-inline" method="post">
                        <div class="form-group">
                            <label class="sr-only" for="content">题干</label>
                            <input type="text" class="form-control" id="content" name="content" placeholder="题干">
                        </div>
                        <span class="btn btn-primary">查询</span>
                    </form>
                </div>
                <div class="col-lg-2">
                    <a th:href="@{/manage/paper/save}" class="btn btn-success btn-block">添加</a>
                </div>
            </div>
            <table class="table table-bordered fyl-mb0">
                <thead>
                <tr>
                    <th>名称</th>
                    <th>类型</th>
                    <th>创建人</th>
                    <th>创建时间</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td>Mark</td>
                    <td>Otto</td>
                    <td>@mdo</td>
                    <td>@mdo</td>
                    <td>
                        <a th:href="@{/manage/paper/save(id=1)}" class="btn btn-primary btn-xs">编辑</a>
                        <span class="btn btn-danger btn-xs delBtn">删除</span>
                    </td>
                </tr>
                </tbody>
            </table>
            <nav aria-label="Page navigation">
                <ul class="pagination">
                    <li>
                        <a href="#" aria-label="Previous">
                            <span aria-hidden="true">&laquo;</span>
                        </a>
                    </li>
                    <li><a href="#">1</a></li>
                    <li><a href="#">2</a></li>
                    <li><a href="#">3</a></li>
                    <li><a href="#">4</a></li>
                    <li><a href="#">5</a></li>
                    <li>
                        <a href="#" aria-label="Next">
                            <span aria-hidden="true">&raquo;</span>
                        </a>
                    </li>
                </ul>
            </nav>
        </div>
    </div>
</div>

<!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
<script th:src="@{/bootstrap/js/jquery.min.js}"></script>
<!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
<script th:src="@{/bootstrap/js/bootstrap.min.js}"></script>
<script>
    $("#submitBtn").click(function () {
        location.href = "/manage/index";
    })
</script>
</body>
</html>